###################################
# 测试 scullc 模块
####################################

sudo dmesg -c
sudo cat /proc/slabinfo
sudo cat /proc/slabinfo | grep scullc
sudo ./scullc_load
sudo dmesg -c
sudo cat /proc/slabinfo | grep scullc
# name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
# scullc                 0      0   4032    8    8 : tunables    0    0    0 : slabdata      0      0      0 
ll /dev/scullc*
echo "abc" > /dev/scullc
sudo dmesg -c
sudo cat /proc/slabinfo | grep scullc
# scullc                 8      8   4032    8    8 : tunables    0    0    0 : slabdata      1      1      0
sudo ./scullc_unload
sudo dmesg -c


sudo cat /proc/buddyinfo


